package com.yf.dxapp.module.app.controller.admin.behavior.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 行为记录新增/修改 Request VO")
@Data
public class BehaviorSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "32744")
    private Long id;

    @Schema(description = "ENUM-行为类型:WATCH_COURSE-观看课程视频", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "ENUM-行为类型:WATCH_COURSE-观看课程视频不能为空")
    private Integer type;

    @Schema(description = "关联记录ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1020")
    @NotNull(message = "关联记录ID不能为空")
    private Long refId;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    @NotEmpty(message = "备注不能为空")
    private String remark;

    /**
     * 创建人ID
     */
    private Long creatorId;

}